<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>过滤器</title>
    <script src="./lib/vue2.6.11.js" ></script>
</head>
<body>
<div id="app">
    <div>
        <input v-model="length">mm
        {{ length | meter }}
    </div>
    <div>
        <input v-model="price">
        {{ price | currency('USD') }}
    </div>
</div>
</body>
</html>
<script src="./js/guolvqi.js" ></script>